package unifor.mia.redes.relprotocol.msg;

import java.io.Serializable;

public final class ACK implements Serializable{

	private static final long serialVersionUID = -8545359093125503006L;

	private String message;
	private long 	seq = 0;
	
	public ACK(){
		super();
		setMessage("ACK");
	}
	
	public ACK(long seq){
		super();
		setMessage("ACK");
		setSeq(seq);
	}
	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public long getSeq() {
		return seq;
	}

	public void setSeq(long seq) {
		this.seq = seq;
	}

	public void insertError() {
		setMessage("AC");
	}
	
}
